#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
    int n;
    scanf("%d", &n);
    int x = n % 100;
    if (x >= 3 && x <= 5)
        printf("spring");
    else if (x >= 6 && x <= 8)
        printf("summer");
    else if (x >= 9 && x <= 11)
        printf("autumn");
    else
        printf("winter");
    return 0;
}